package com.istock.union.user.model;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * Description:登录用户组织机构信息
 *
 * @author senvon
 */
public class UserDept implements Serializable {

	/**
	 * serialVersionUID	
	 */
	private static final long serialVersionUID = -7241244724847590063L;
	
	private String id;
	
	/**
	 * 机构编号
	 */
	private String deptCode;
	
	/**
	 * 机构名称
	 */
	private String deptName;
	
	/**
	 * 租户号
	 */
	private String tenantCode;
	
	/**
	 * 祖先
	 */
	private String ancestor;
	
	/**
	 * 机构表的扩展字段
	 */
	private Map<String , String> paramMap = new HashMap<String ,String>();

	public String getAncestor() {
		return ancestor;
	}

	public void setAncestor(String ancestor) {
		this.ancestor = ancestor;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getTenantCode() {
		return tenantCode;
	}

	public void setTenantCode(String tenantCode) {
		this.tenantCode = tenantCode;
	}

	public String getDeptCode() {
		return deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public Map<String, String> getParamMap() {
		return paramMap;
	}

	public void setParamMap(Map<String, String> paramMap) {
		this.paramMap = paramMap;
	}
}
